<?php
	function reverseDate($date){
		
		return substr($date, 6, 4) . '-' . substr($date, 3, 2) . '-' . substr($date, 0, 2);
	}
?>